package com.app.mapper;

import com.app.model.GobiModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GobiMapper extends BaseMapper<GobiModel> {
    List<GobiModel> getGobiList(Integer page, Integer limit, String keyword, Integer type, Integer township);

    List<GobiModel> selectGobiList(Integer page, Integer limit, String keyword, Integer type, Integer township);

    int getGobiCount(String keyword, Integer type);

    int selectGobiCount(String keyword, Integer type);
}
